/************************************************************************************
 RC Hobby Stream
 Twitter automatic feeder

 First version developed with support of Mapelgate Media

"RC Hobby Stream" is protected by the copyright law
© 2011 Enrico Miglino / Tech Consulting (enrico.miglino@ovi.com)
Distributed under the LGPL 3.0 license.

This file is part of "RC Hobby Stream".

    "RC Hobby Stream" is free software: you can redistribute it
    and/or modify it under the terms of the Lesser GNU General Public License
    as published by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    "RC Hobby Stream" is distributed in the hope that it
    will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Lesser GNU General Public License for more details.

    You should have received a copy of the Lesser GNU General Public License
    along with "RC Hobby Stream".
    If not, see <http://www.gnu.org/licenses/>.
************************************************************************************/

import QtQuick 1.0
import QtWebKit 1.0

Grid {
    columns: 1
    id: pages
    width: 160
    height: 32

    Component {
        id: webViewPage

        Rectangle {
            id: webrect

            width: webView.width
            height: webView.height
            border.color: "black"
            scale: 0.5

            WebView {
                id: webView

                preferredWidth: 160
                preferredHeight: 32
                newWindowComponent: webViewPage
                newWindowParent: pages
                url: "fly_rc.html"
            }
        }
    }

    Loader { sourceComponent: webViewPage }
}
